package com.lzx.answer.feign;

import com.lzx.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;

/**
 * @author 程序员星星
 * @date 2023/2/16
 * @Description
 */
@Component
@FeignClient("five-cube-es")
public interface ESClient {

    //修改问题
    @PutMapping("/es/web/editProblem/{problemId}")
    R editProblem(@PathVariable Long problemId);
}
